package stackdemo;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User: SEKI TOMOKI
 * Date: 2024-08-01
 * Time: 18:01
 */
public class Test {

    public static void main(String[] args) {
        MyStack myStack = new MyStack();
        myStack.push(12);
        myStack.push(23);
        myStack.push(34);
        myStack.push(45);
        myStack.push(56);
        myStack.push(67);
        myStack.push(78);
        myStack.push(89);
        myStack.push(90);
        myStack.push(111);
        myStack.push(222);
        myStack.push(333);
        System.out.println(myStack.size());
        System.out.println(myStack.peek());
        System.out.println(myStack.pop());
    }
}
